package com.feeyo.monitor.service.imp;

import com.feeyo.monitor.domain.SimRecharge;
import com.feeyo.monitor.mapper.SimRechargeMapper;
import com.feeyo.monitor.service.SimRechargeService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author <a href="mailto:bliulei@variflight.com">liulei</a>
 * @Description Created by liulei on 2017/5/18 下午5:42.
 */
@Service
public class SimRechargeServiceImp implements SimRechargeService {
    @Autowired
    SimRechargeMapper simRechargeMapper;

    @Override
    public int insert(SimRecharge record) {
        return simRechargeMapper.insert(record);
    }

    @Override
    public List<SimRecharge> selectBySim(int simId) {
        return simRechargeMapper.selectBySim(simId);
    }
}
